import Koa from 'koa'
import invoice from './invoice'
import common from './common'

export default async (app: Koa) => {
  app.use(invoice.routes()).use(invoice.allowedMethods())
  app.use(common.routes()).use(invoice.allowedMethods())
}
